<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			function showDiv(){
				var d=document.getElementById("d1");
				/*alert(d.firstChild);
				alert(d.firstChild.nextSibling.innerHTML); 
				d.firstChild.nextSibling.align="right";*/
				(d.firstElementChild||d.firstChild).align="center";
				//(d.lastElementChild||d.lastChild).firstElementChild.innerHTML="accp工程师课程";
			}
		</script>
	</head>
	<body onload="showDiv()">
		<div id="d1">
			<h1>教育改变生活，<a href="#">青鸟</a>改变人参</h1>
			<ul>
				<li>accp</li>
				<li>启蒙星</li>
				<li>网销</li>
				<li>java</li>
				<li>.net</li>
				<li>UI</li>
			</ul>
		</div>
	</body>
</html>
